package com.frogs.ucenter.service.daoimpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.QuestionExamineDao;
import com.frogs.ucenter.entity.QuestionExamine;
import com.frogs.ucenter.service.QuestionExamineService;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("questionExamineService")
public class QuestionExamineServiceImpl extends BaseServiceImpl<QuestionExamine> implements QuestionExamineService {
    @Autowired
    private QuestionExamineDao questionExamineDao;

    public QuestionExamineServiceImpl() {
        super();
    }

    public QuestionExamineDao getQuestionExamineDao() {
        return questionExamineDao;
    }

    /**
     * Don't remove or edit it.
     */
    @Override
    protected BaseDao<QuestionExamine> getBaseDao() {
        return questionExamineDao;
    }

    public void setQuestionExamineDao(QuestionExamineDao questionExamineDao) {
        this.questionExamineDao = questionExamineDao;
    }
}